<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="webjars/bootstrap/3.2.0/css/bootstrap.min.css"
	rel="stylesheet" media="screen" />
<link href="../static/css/styles.css" th:href="@{css/styles.css}"
	rel="stylesheet" media="screen" />
</head>
<body class="background"
	style="background: url('../static/img/background.png') no-repeat center center fixed;"
	th:style="'background: url(' + @{/img/background.png} + ') no-repeat center center fixed;'">
	<div class="row vertical-offset-100">
		<div class="col-md-4 col-md-offset-4">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">注册信息</h3>
				</div>
				<div class="panel-body">
					<form th:action="@{/registration}" method="post">
						<fieldset>
						<div class="form-group">
								<input class="form-control" placeholder="Id"
									name="id" type="text" />
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="Username"
									name="username" type="text" />
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="Password"
									name="password" type="password" value="" />
							</div>
							<!-- <div class="form-group">
								<select class="combobox" name="role">
									<option value="ADMIN">管理员</option>
									<option value="USER">用户</option>
								</select>
							</div> -->
							<div class="alert alert-danger" role="alert">
								<span th:text="${result}"></span>
							</div>
							<div>
								<input class="btn btn-lg btn-success btn-block" type="submit" value="submit" />
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
